package com.tx.admin.tagrelate.pojo.po;

import com.mybatisflex.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.io.Serial;
import com.tx.mysql.EntityChangeListener;

/**
* <p>
* 标签中间表
* </p>
*
* @author sz-admin
* @since 2025-08-08
*/
@Data
@Table(value = "tag_relate", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "标签中间表")
public class TagRelate implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @Schema(description ="主键")
    private Long id;

    @Schema(description ="标签编码")
    private Long tagId;

    @Schema(description ="业务ID")
    private Long busId;

    @Schema(description ="所属分类")
    private String belongType;

    @Schema(description ="拓展字段0")
    private String ext0;

    @Schema(description ="拓展字段1")
    private String ext1;

    @Schema(description ="拓展字段2")
    private String ext2;

    @Schema(description ="拓展字段3")
    private String ext3;

}